package com.ddwl.schema.bo.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.Instant;
import java.util.List;

/**
 * 类CreateSeckillBo.java的实现描述：创建秒杀入参
 * @author wenbin
 */
@Data
@ApiModel("查询秒杀活动入参")
public class QuerySeckillBo {


    @ApiModelProperty("秒杀活动Id")
    private String seckillId;

    @ApiModelProperty("秒杀活动 Ids")
    private List<String> seckillIds;

    @ApiModelProperty("秒杀活动名称")
    private String seckillName;

    @ApiModelProperty(value = "开始时间")
    private Instant startTime;

    @ApiModelProperty(value = "结束时间")
    private Instant endTime;

    @ApiModelProperty(value = "时间")
    private Instant time;

    @ApiModelProperty(value = "是否启用,0否 1是")
    private Integer isEffect;

    @ApiModelProperty(value = "是否参与分销 0否 1是")
    private Integer isDist;

    @ApiModelProperty(value = "商品id")
    private String itemId;

    @ApiModelProperty(value = "商品ids")
    private List<String> itemIds;

    @ApiModelProperty(value = "商品名字")
    private String itemName;

    //@ApiModelProperty(value = "skuid")
    //private String skuId;
    @ApiModelProperty(value = "商品编码")
    private String barcode;

    @ApiModelProperty("秒杀活动商品行id")
    private String id;
    @ApiModelProperty("秒杀活动商品行 ids")
    private List<String> ids;

    @ApiModelProperty("购买数量")
    private Integer saleCount;

    @ApiModelProperty("是否已经释放库存 0否 1是 ")
    private Integer isReleaseStock;

    @ApiModelProperty("是否秒杀 0否 1是 ")
    private Integer isSeckillList;

}

